package org.ihelpuoo.weboo.tag.ajax;

import javax.servlet.jsp.JspException;

public class SpeedTag extends SettingTag
{
	private static final long	serialVersionUID	= 8453963590951637041L;

	private String				show;
	private String				hide;

	public String getShow()
	{
		return show;
	}

	public void setShow(String show)
	{
		this.show = show;
	}

	public String getHide()
	{
		return hide;
	}

	public void setHide(String hide)
	{
		this.hide = hide;
	}

	@Override
	protected void end() throws JspException
	{
		((ViewTag)this.getParent()).setSeed(this);
	}

	@Override
	public String toString()
	{
		return createSegment("ajax.speed").set("show",show).set("hide",hide).toString();
	}

	@Override
	protected boolean isAvailable()
	{
		return true;
	}

}
